import request from '@/utils/request'

// 获取accessToken
export function getToken(params) {
  return request({
    url: '/identity/getToken',
    method: 'post',
    params
  })
}

// 验证accessToken
export function validateToken(params) {
  return request({
    url: '/identity/validateToken',
    method: 'post',
    params
  })
}
